package com.mt.mtyx.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mt.mtyx.entity.activity.CouponRange;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 优惠券范围持久层
 *
 * @author WMT
 * @Date 2023/7/25 19:29
 */
@Mapper
public interface CouponRangeMapper extends BaseMapper<CouponRange> {

    /**
     * 批量添加优惠券范围
     *
     * @param couponRanges
     * @return
     */
    int batchSave(List<CouponRange> couponRanges);
}
